<% @page_title = "Add new Faculty" %>
<%= stylesheet_link_tag "admin/form", :media => "all" %>
<div class="create-faculty-form">
	<h1>Add new Faculty</h1>
	<%= form_for(:faculty, :url => {:controller => "admin/faculty", :action => "create"}) do |f| %>
		<p>
			<label>Faculty Name</label>
			<%= f.text_field :faculty_name %>
		</p>
		<p class='action'>
			<label>&nbsp;</label>
			<%= f.submit :Create %><%= link_to "Back", :controller => "admin/faculty", :action => "index" %>
		</p>
		
	<% end %><!-- End form -->
	
	<% if @faculty.errors.any? %>
		<ul class="create-faculty-errors">
			<% for message_error in @faculty.errors.full_messages %>
				<li>*&nbsp;<%= message_error %></li>
			<% end %>
		</ul>
	<% end %><!-- End if -->
</div><!-- End .create-faculty-form -->
